@prefix: cbd-header;

.@{prefix} {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;

  &- {
    &logo {
      margin-right: 10px;
    }

    &title {
      width: 250px;
      // text-align: center;
      padding-left: 24px;
      white-space: nowrap;
      font-size: 22px;
      color: #FFFFFF;
    }

    &menu {
      flex: 1;
    }

    &item {
      display: flex;
      align-items: center;
    }

    &search-content {
      padding: 0 12px;
    }

    &text-link {
      background-color: rgba(0, 0, 0, 0);
      color: rgba(255, 255, 255, 0.45);
      padding: 0 12px;
      font-size: 12px;
      cursor: pointer;
      transition: color 300ms, background-color 300ms;

      &:hover {
        background-color: rgba(0, 0, 0, 0.2);
        color: rgba(255, 255, 255, 0.8);
      }
    }

  }
}
